package com.fengyunhe.manager.vo;

import java.util.Date;

/**
 * 功能：
 * 作者： yangyan
 * 时间： 2014/8/26 .
 */
public class CheckableRoleVo {

    private RoleVo role = null;

    public CheckableRoleVo(RoleVo role) {
        this.role = role;
    }

    private boolean checked;

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public Integer getRoleId() {
        return role.getRoleId();
    }

    public void setCreatedBy(Integer createdBy) {
        role.setCreatedByUserId(createdBy);
    }

    public void setCreatedAt(Date createdAt) {
        role.setCreatedAt(createdAt);
    }

    public Date getCreatedAt() {
        return role.getCreatedAt();
    }

    public void setRoleName(String roleName) {
        role.setRoleName(roleName);
    }

    public String getRoleName() {
        return role.getRoleName();
    }

    public String getDescription() {
        return role.getDescription();
    }

    public Integer getCreatedBy() {
        return role.getCreatedByUserId();
    }

    public void setRoleId(Integer roleId) {
        role.setRoleId(roleId);
    }

    public void setDescription(String description) {
        role.setDescription(description);
    }
}
